home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Time / DLL / MkOs
Text File  |  1995-07-08  |  1KB  |  61 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.ConvertDAT    \
  4.             o.ConvSDAT    \
  5.             o.MonoTime    \
  6.  
  7.  
  8. LibName        =    Time
  9.  
  10.  
  11.  
  12. # Template makefile to make all .o files
  13. # for a DeskLib sublibrary. Compilation 
  14. # is for static linking inside a DLL.
  15.  
  16. # The macro $(ObjectFiles) should be set at the 
  17. # start of this file, to be a space-separated
  18. # list of object files.
  19. # This is done by 'Makatic'.
  20.  
  21. # The macro $(LibName) should also be set at the 
  22. # start of this file, to be the name of the 
  23. # DeskLib sublibrary.
  24.  
  25. # Compiler flags, These can be anything. 
  26. # All essential flags (eg CC -zM
  27. # are included in the macro $(CC).
  28. #
  29. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  30. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  31.  
  32. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  33. ASM        =    ObjAsm $(ASMFlags)
  34.  
  35.  
  36. # -------------------------------------------------------
  37. # Everything below here should probably not be changed...
  38. # -------------------------------------------------------
  39.  
  40. # Here's what we want to make...
  41. #
  42. All:    $(ObjectFiles)
  43.  
  44.  
  45. # Rule for compiling C source code for a Straylight dynamically-linked library.
  46.  
  47. VPATH = @.^
  48.  
  49. .SUFFIXES:    .o .c .s
  50.  
  51. .c.o:
  52.     $(CC) -o $@ $<
  53.  
  54. .s.o:
  55.     $(ASM) $(ASMFlags) -from $< -to $@
  56.  
  57.  
  58.  
  59. # Dynamic dependencies:
  60.